//
//  UIGestureRecognizer+BPUIKit.m
//  BPUIKit_Example
//
//  Created by 404 on 2020/7/30.
//  Copyright © 2020 404. All rights reserved.
//

#import "UIGestureRecognizer+BPUIKit.h"

@implementation UIGestureRecognizer (BPUIKit)

- (nullable UIView *)targetView {
    CGPoint location = [self locationInView:self.view];
    UIView *targetView = [self.view hitTest:location withEvent:nil];
    return targetView;
}

@end
